﻿using rbac.contracts.Dto.Input;
using rbac.contracts.Dto.Output;
using rbac.domain.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rbac.contracts.Interface
{
    public interface IPermissionService
    {

        List<PermissionOutput> GetPermiss(string permissionName);
        int Add(PermissionInput permission);

        int Update(PermissionInput permission);

        int Delete(params int[] idlist);

    }
}
